﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PatientManagement.BLL.Interfaces;
using PatientManagement.DAL.DAL;
using PatientManagement.DAL.Database;

namespace PatientManagement.BLL.ServiceProvider
{
    public class DrugServiceProvider : IDrugServiceProvider
    {
        private DrugDataLayer m_DataAccessLayer;

        public DrugServiceProvider()
        {
            m_DataAccessLayer = new DrugDataLayer();
        }

        public bool AddDrug(Drug drug)
        {
            return m_DataAccessLayer.AddDrug(drug);
        }

        public List<Drug> SearchDrugByName(string name)
        {
            throw new NotImplementedException();
        }

        public List<Drug> SearchDrugByQuantity(decimal quantity)
        {
            throw new NotImplementedException();
        }
    }
}
